package com.study.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloController2 {

    @RequestMapping("/test")
    public String test(Model model){
        model.addAttribute("msg","这个来自HelloController2");
        return "hello";
    }

}
